package com.kbt.util.tool;

import android.widget.TextView;

/**
 * @author zhgk
 * @package: com.kbt.widget
 * @TODO: 设置标题栏按钮信息
 * @data: 2015/8/12 11:12
 * @version: V1.0
 */
public class TitleBarSetting {

    /**
     * 设置标题栏按钮样式
     **/
    public static void setTitleBtn(TextView app_btn, String text, int background) {
        app_btn.setText(text);
        app_btn.setBackgroundResource(background);
    }

    /**
     * 设置标题栏文本标识
     **/
    public static void setTitleText(TextView titleView, String text) {
        titleView.setText(text);
    }

}
